function updateLawCardInfo(cardIds) {
    // params中为api接口的query参数
    let params = [{
        name: "ids", valueContent: cardIds
    }, {
        name: "tableId", valueContent: "ds_tbl:t_7ce84a1bbcd14ae08f12a2c7e55bf626"
    }];
    // columnDataList 的columnId为要修改的字段id，value为要修改成的值
    let columnData = {
        "columnDataList": [{
            "columnId": "f_c37a0c88b43c43e18dc879a43e69ed74", "value": "已提交"
        },{
            "columnId": "f_26f9be3a06964cb6a500dcbfa0273d25", "value": "1"
        }]
    }
    api.DATA_SOURCE_EXECUTE("38f50199-1493-a460e-807b-f54b57d3a3bb", "api", params, [], JSON.stringify(columnData)).then((res) => {
        // then() 为调用成功的回调

    }).catch(err => {
        self.$message.error(err.message); // 显示错误提示信息
    });
}


//law_card_unit_media_info
function updateLawCardUnitMediaInfo(documentNo) {
    api.EXEC_FORMULA("UPDATE('ds_tbl:t_6eda087f8b7e4a3aa5b3e39b81df4aa1', QUERY_EQ('documentNo', '" + documentNo + "'), '', ['state', '" + 1 + "'])").then(res => {
        console.log('Update result:', res);
    });
}
